package com.itboye.jigongbao.bean;

/**
 * Created by Administrator on 2017/12/25.
 */

public class UpdateImageBean {
    //"code":0,"msg":"success"
    private int code;
    private String msg;
    private Object data;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    /**
     * id : 41
     * create_time : 1514162225
     * update_time : 1514162225
     * project_id : jigongbao
     * ext : jpg
     * type : avatar
     * status : 1
     * url :
     * size : 30575
     * ori_name : 20171223161457.jpg
     * save_name : fe87e836a6b6de39e0f87dbe8fe4df1a.jpg
     * primary_file_uri : ./uploads/pic/20171225/fe87e836a6b6de39e0f87dbe8fe4df1a.jpg
     * md5 : 72fbf111ef2acbf46cd38eb08b67e1bf
     * sha1 : e4f9fb2a3e7962483351b13bc24d9d216e11a27a
     */
    public static class UploadImageDataBean {


        private String id;
        private int create_time;
        private int update_time;
        private String project_id;
        private String ext;
        private String type;
        private int status;
        private String url;
        private int size;
        private String ori_name;
        private String save_name;
        private String primary_file_uri;
        private String md5;
        private String sha1;

        public void setId(String id) {
            this.id = id;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }

        public void setProject_id(String project_id) {
            this.project_id = project_id;
        }

        public void setExt(String ext) {
            this.ext = ext;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public void setOri_name(String ori_name) {
            this.ori_name = ori_name;
        }

        public void setSave_name(String save_name) {
            this.save_name = save_name;
        }

        public void setPrimary_file_uri(String primary_file_uri) {
            this.primary_file_uri = primary_file_uri;
        }

        public void setMd5(String md5) {
            this.md5 = md5;
        }

        public void setSha1(String sha1) {
            this.sha1 = sha1;
        }

        public String getId() {
            return id;
        }

        public int getCreate_time() {
            return create_time;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public String getProject_id() {
            return project_id;
        }

        public String getExt() {
            return ext;
        }

        public String getType() {
            return type;
        }

        public int getStatus() {
            return status;
        }

        public String getUrl() {
            return url;
        }

        public int getSize() {
            return size;
        }

        public String getOri_name() {
            return ori_name;
        }

        public String getSave_name() {
            return save_name;
        }

        public String getPrimary_file_uri() {
            return primary_file_uri;
        }

        public String getMd5() {
            return md5;
        }

        public String getSha1() {
            return sha1;
        }

        @Override
        public String toString() {
            return "UpdateImageBean{" +
                    "id='" + id + '\'' +
                    ", create_time=" + create_time +
                    ", update_time=" + update_time +
                    ", project_id='" + project_id + '\'' +
                    ", ext='" + ext + '\'' +
                    ", type='" + type + '\'' +
                    ", status=" + status +
                    ", url='" + url + '\'' +
                    ", size=" + size +
                    ", ori_name='" + ori_name + '\'' +
                    ", save_name='" + save_name + '\'' +
                    ", primary_file_uri='" + primary_file_uri + '\'' +
                    ", md5='" + md5 + '\'' +
                    ", sha1='" + sha1 + '\'' +
                    '}';
        }
    }
}
